package com.xianzhiOA.dao;

import com.xianzhiOA.bean.DateResult;
import com.xianzhiOA.bean.SearchBean;
import com.xianzhiOA.bean.XzPerson;

import java.util.List;
import java.util.Map;

public interface XzPersonMapper {
    int deleteByPrimaryKey(Long personId);

    int deleteByPrimaryKeyF(Long personId);

    int insert(XzPerson record);

    List<XzPerson> selAll(SearchBean<XzPerson> searchPerson);

    XzPerson selPersonWithComment(Long personId);

    List<DateResult> selAchievement(Map<String,Object> map);

    int selectF(XzPerson persons);

    int insertSelective(XzPerson record);

    XzPerson selectByPrimaryKey(Long personId);

    int updateByPrimaryKeySelective(XzPerson record);

    int updateByPrimaryKey(XzPerson record);
}